Optimal. Leaf size=106 \[ \frac{6 E\left (\left .a+b x-\frac{\pi }{4}\right |2\right )}{5 b}-\frac{2 \sin ^{\frac{7}{2}}(2 a+2 b x) \cos (2 a+2 b x)}{7 b}-\frac{2 \sin ^{\frac{3}{2}}(2 a+2 b x) \cos (2 a+2 b x)}{5 b}+\frac{\sin ^{\frac{11}{2}}(2 a+2 b x) \csc ^2(a+b x)}{7 b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0584837, antiderivative size = 106, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136, Rules used = {4300, 2635, 2639} \[ \frac{6 E\left (\left .a+b x-\frac{\pi }{4}\right |2\right )}{5 b}-\frac{2 \sin ^{\frac{7}{2}}(2 a+2 b x) \cos (2 a+2 b x)}{7 b}-\frac{2 \sin ^{\frac{3}{2}}(2 a+2 b x) \cos (2 a+2 b x)}{5 b}+\frac{\sin ^{\frac{11}{2}}(2 a+2 b x) \csc ^2(a+b x)}{7 b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4300
Rule 2635
Rule 2639
Rubi steps
\begin{align*} \int \csc ^2(a+b x) \sin ^{\frac{9}{2}}(2 a+2 b x) \, dx &=\frac{\csc ^2(a+b x) \sin ^{\frac{11}{2}}(2 a+2 b x)}{7 b}+\frac{18}{7} \int \sin ^{\frac{9}{2}}(2 a+2 b x) \, dx\\ &=-\frac{2 \cos (2 a+2 b x) \sin ^{\frac{7}{2}}(2 a+2 b x)}{7 b}+\frac{\csc ^2(a+b x) \sin ^{\frac{11}{2}}(2 a+2 b x)}{7 b}+2 \int \sin ^{\frac{5}{2}}(2 a+2 b x) \, dx\\ &=-\frac{2 \cos (2 a+2 b x) \sin ^{\frac{3}{2}}(2 a+2 b x)}{5 b}-\frac{2 \cos (2 a+2 b x) \sin ^{\frac{7}{2}}(2 a+2 b x)}{7 b}+\frac{\csc ^2(a+b x) \sin ^{\frac{11}{2}}(2 a+2 b x)}{7 b}+\frac{6}{5} \int \sqrt{\sin (2 a+2 b x)} \, dx\\ &=\frac{6 E\left (\left .a-\frac{\pi }{4}+b x\right |2\right )}{5 b}-\frac{2 \cos (2 a+2 b x) \sin ^{\frac{3}{2}}(2 a+2 b x)}{5 b}-\frac{2 \cos (2 a+2 b x) \sin ^{\frac{7}{2}}(2 a+2 b x)}{7 b}+\frac{\csc ^2(a+b x) \sin ^{\frac{11}{2}}(2 a+2 b x)}{7 b}\\ \end{align*}
Mathematica [A] time = 0.2952, size = 66, normalized size = 0.62 \[ \frac{\sqrt{\sin (2 (a+b x))} (15 \sin (2 (a+b x))-14 \sin (4 (a+b x))-5 \sin (6 (a+b x)))+84 E\left (\left .a+b x-\frac{\pi }{4}\right |2\right )}{70 b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 7.493, size = 204, normalized size = 1.9 \begin{align*} 8\,{\frac{\sqrt{2}}{b} \left ({\frac{\sqrt{2} \left ( \sin \left ( 2\,bx+2\,a \right ) \right ) ^{7/2}}{56}}-{\frac{\sqrt{2} \left ( 6\,\sqrt{\sin \left ( 2\,bx+2\,a \right ) +1}\sqrt{-2\,\sin \left ( 2\,bx+2\,a \right ) +2}\sqrt{-\sin \left ( 2\,bx+2\,a \right ) }{\it EllipticE} \left ( \sqrt{\sin \left ( 2\,bx+2\,a \right ) +1},1/2\,\sqrt{2} \right ) -3\,\sqrt{\sin \left ( 2\,bx+2\,a \right ) +1}\sqrt{-2\,\sin \left ( 2\,bx+2\,a \right ) +2}\sqrt{-\sin \left ( 2\,bx+2\,a \right ) }{\it EllipticF} \left ( \sqrt{\sin \left ( 2\,bx+2\,a \right ) +1},1/2\,\sqrt{2} \right ) -2\, \left ( \sin \left ( 2\,bx+2\,a \right ) \right ) ^{4}+2\, \left ( \sin \left ( 2\,bx+2\,a \right ) \right ) ^{2} \right ) }{80\,\cos \left ( 2\,bx+2\,a \right ) \sqrt{\sin \left ( 2\,bx+2\,a \right ) }}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \csc \left (b x + a\right )^{2} \sin \left (2 \, b x + 2 \, a\right )^{\frac{9}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left ({\left (\cos \left (2 \, b x + 2 \, a\right )^{4} - 2 \, \cos \left (2 \, b x + 2 \, a\right )^{2} + 1\right )} \csc \left (b x + a\right )^{2} \sqrt{\sin \left (2 \, b x + 2 \, a\right )}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]